# 语文老师提供
chinese_scores = [["张三", "S001", 85], ["李四", "S002", 92], ["王五", "S003", 78]]

# 数学老师提供
math_scores = [["张三", "S001", 90], ["李四", "S002", 87], ["王五", "S003", 85]]

# 英语老师提供
english_scores = [["S001", "张三", 88], ["S002", "李四", 85], ["S003", "王五", 80]]

for item in chinese_scores:
    chinese_dict = {item[1]:
     {
        'name': item[0], 'score': item[2]}
    }
    print(chinese_dict)
math_dict = {item[1]: item for item in math_scores}

english_dict = {item[0]: item for item in english_scores}


print("数学成绩表：\n", math_dict)
print("英语成绩表：\n", english_dict)